package com.qf.leadnewsmodel.consts;

public interface TaskConst {
    int INIT_STATUS = 0;
    int EXECUTED_STATUS = 1;
    int CANCELED_STATUS = 2;

    /**
     * 存入实时消费队列中的key前缀
     */
    String NOW_CONSUME_PREFIX = "NOW:CONSUME:";
    /**
     * 存入预热消费队列的key前缀
     */
    String FUTRUE_CONSUME_PREFIX = "FUTRUE:CONSUME:";

    /**
     * 任务迁移&任务消费解决并发问题的读写锁名字
     */
    String TASK_MOVE_READ_WRITE_LOCK = "TASK_MOVE_READ_WRITE_LOCK";
}
